html,
body {
	height: 100%;
	width: 100%;
	margin: 0;
	padding: 0;
}

header {
	width: 100%;
	z-index: 9999;
}

.part_intro {
	margin-top: 50px;
	padding-top: 50px;
	text-align: center;
	font-family: myFont;
}

.part_intro:after {
	display: inline-block;
	text-align: center;
	content: " ";
	width: 200px;
	height: 3px;
	border-radius: 50%;
	background: #CCCCCC;
}


/*-------------------顶部菜单栏---------------------*/

.for-sticky {
	position: fixed;
	z-index: -1;
	bottom: 0;
	width: 100%;
	height: 50px;
	opacity: 0.8;
	z-index: 9999;
	top: 0;
	left: 0;
	border-bottom: 1px solid #f1f1f1;
	display: block;
	padding: 0px 15px 5px 15px;
	background: #ffffff;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	-ms-transition: all 0.3s;
	-o-transition: all 0.3s;
	transition: all 0.3s;
}


/*-----------------Menu Button----------------*/

.menu-button {
	width: 34px;
	height: 45px;
	position: fixed;
	right: 0;
	margin-top: 13px;
	margin-right: 35px;
	z-index: 10000;
	padding: 0;
	cursor: pointer;
	background: transparent;
	border: none;
	outline: none;
}

.menu-button span {
	display: block;
	position: absolute;
	height: 1px;
	width: 100%;
	background: #2f2f2f;
	border-radius: 9px;
	opacity: 1;
	left: 0;
}

.menu-button span:nth-child(1) {
	top: 0px;
}

.menu-button span:nth-child(2) {
	top: 9px;
}

.menu-button span:nth-child(3) {
	top: 18px;
}

.menu-button:hover {
	opacity: 0.6;
}


/*-------------------------------------*/


/*--------------顶部大图--------------*/

.content {
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
}

.imgback {
	width: 100%;
	height: 100%;
	min-width: 100%;
	min-height: 100%;
	background-image: url(../images/pic_14.jpg);
	background-size: cover;
}

.intro_timeline {
	position: absolute;
	text-align: center;
	min-width: 300px;
	left: 50%;
	top: 50%;
	padding: 65px;
	background: rgba(255, 255, 255, 0.8);
	outline: 4px double #FFFFFF;
	outline-offset: 10px;
	-moz-outline-radius: 20px;
	border-radius: 20px;
	-webkit-transform: translateX(-50%) translateY(-50%);
	transform: translateX(-50%) translateY(-50%);
}

.go_down {
	background: transparent;
	color: #FFFFFF;
	font-family: arial;
	font-weight: bold;
	border-style: solid;
	border-color: #FFFFFF;
	border-radius: 10%;
	outline: none;
	width: 140px;
	height: 50px;
	position: absolute;
	opacity: 0.8;
	display: block;
	text-align: center;
	margin: 0 auto;
	left: 45%;
	bottom: 30px;
	z-index: 100;
	transition: background 1s;
	-webkit-transition: background 1s;
}

.go_down:hover {
	background: #353535;
}

.words_to_continue {
	position: relative;
	text-align: center;
}


/*----------------时间轴CSS样式------------------*/

.timeline_container {
	overflow: hidden;
	position: relative;
	margin-left: 50px;
	margin-right: 50px;
}

.timeline_container .timeline {
	position: relative;
	margin-top: -79px;
	filter: grayscale(100%);
	-webkit-filter: grayscale(100%);
	transition: filter 1s;
	-webkit-transition: filter 1s;
}

.timeline_container .timeline:hover {
	filter: grayscale(0%);
	-webkit-filter: grayscale(0%);
}

.timeline_container .timeline:first-child {
	/*对父元素的首个子元素设置*/
	margin-top: 0;
}

.timeline_container .timeline:before,
.timeline_container .timeline:after {
	content: "";
	display: block;
	width: 100%;
	clear: both;
	/*左右侧均不能出现浮动元素*/
}

.timeline_container .timeline:before {
	content: "";
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	right: 0;
	z-index: 2;
}

.timeline_container .timeline-icon {
	width: 210px;
	height: 210px;
	border-radius: 50%;
	border: 25px solid transparent;
	border-top-color: #CC9933;
	border-right-color: #CC9933;
	margin: auto;
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	z-index: 1;
	transform: rotate(45deg);
}

.timeline_container .year {
	display: block;
	width: 120px;
	height: 120px;
	line-height: 110px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 0 40px rgba(0, 0, 0, 0.4);
	margin: auto;
	font-size: 20px;
	font-weight: bold;
	color: #CC9933;
	text-align: center;
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	transform: rotate(-45deg);
	/*用于修正.timeline-icon的旋转角度偏差*/
}

.timeline_container .timeline-content {
	width: 35%;
	float: right;
	background: #CC9933;
	padding: 30px 20px;
	border-radius: 5%;
	margin: 50px 0;
	z-index: 1;
	position: relative;
	height: 164px;
	font-family: myFont;
}

.timeline_container .timeline-content:before {
	content: "";
	width: 100%;
	height: 15px;
	background: #CC9933;
	position: absolute;
	top: 50%;
	left: -23%;
	z-index: -1;
	transform: translateY(-50%);
}

.timeline_container .title {
	display: inline-block;
	font-size: 20px;
	font-weight: bold;
	color: #fff;
	margin: 0 0 10px 0;
}

.timeline_container .description {
	font-size: 16px;
	color: #fff;
	line-height: 24px;
	margin: 0;
	display: inline-block;
}


/*使第2n个div的颜色部分朝向左*/

.timeline_container .timeline:nth-child(2n) .timeline-icon {
	transform: rotate(-135deg);
	border-top-color: #CC9966;
	border-right-color: #CC9966;
}


/*修正第2n个元素文字的角度*/

.timeline_container .timeline:nth-child(2n) .year {
	transform: rotate(135deg);
}

.timeline_container .timeline:nth-child(2n) .timeline-content {
	float: left;
}

.timeline_container .timeline:nth-child(2n) .timeline-content:before {
	left: auto;
	right: -23%;
}

.timeline_container .timeline:nth-child(2n) .year {
	color: #CC9966;
}

.timeline_container .timeline:nth-child(2n) .timeline-content,
.timeline_container .timeline:nth-child(2n) .timeline-content:before {
	background: #CC9966;
}

.timeline_container .timeline:nth-child(3n) .timeline-icon {
	border-top-color: #999933;
	border-right-color: #999933;
}

.timeline_container .timeline:nth-child(3n) .year {
	color: #999933;
}

.timeline_container .timeline:nth-child(3n) .timeline-content,
.timeline_container .timeline:nth-child(3n) .timeline-content:before {
	background: #999933;
}

.timeline_container .timeline:nth-child(4n) .timeline-icon {
	border-top-color: #666633;
	border-right-color: #666633;
}

.timeline_container .timeline:nth-child(4n) .year {
	color: #666633;
}

.timeline_container .timeline:nth-child(4n) .timeline-content,
.timeline_container .timeline:nth-child(4n) .timeline-content:before {
	background: #666633;
}

.Thumbnail {
	float: right;
	max-width: 200px;
	max-height: 200px;
	position: absolute;
	top: 15px;
	right: 25px;
}


/*---------下面进行小屏时的适配------------*/

@media only screen and (max-width: 1199px) {
	
	.timeline_container .timeline-content:before {
		left: -18%;
	}
	.timeline_container .timeline:nth-child(2n) .timeline-content:before {
		right: -18%;
	}
}

@media only screen and (max-width: 990px) {
	
	.timeline_container .timeline-content:before {
		left: -9%;
	}
	.timeline_container .timeline:nth-child(2n) .timeline-content:before {
		right: -9%;
	}
}

@media only screen and (max-width: 767px) {
	.timeline_container .timeline {
		margin-top: 0;
		overflow: hidden;
	}
	.timeline_container .timeline:before,
	.timeline_container .timeline:nth-child(2n):before {
		box-shadow: none;
	}
	.timeline_container .timeline-icon,
	.timeline_container .timeline:nth-child(2n) .timeline-icon {
		margin-top: -30px;
		margin-bottom: 20px;
		position: relative;
		transform: rotate(135deg);
	}
	.timeline_container .year,
	.timeline_container .timeline:nth-child(2n) .year {
		transform: rotate(-135deg);
	}
	.timeline_container .timeline-content,
	.timeline_container .timeline:nth-child(2n) .timeline-content {
		width: 100%;
		float: none;
		border-radius: 0 0 20px 20px;
		text-align: left;
		padding: 25px 20px;
		margin: 0 auto;
	}
	.timeline_container .timeline-content:before,
	.timeline_container .timeline:nth-child(2n) .timeline-content:before {
		width: 15px;
		height: 25px;
		position: absolute;
		top: -22px;
		left: 50%;
		z-index: -1;
		transform: translate(-50%, 0);
	}
}


/*----------------Diary部分CSS--------------------*/

.diary {
	background-color: #F5F5F5;
	margin: 50px 0 0 0;
	padding-top: 50px;
	padding-bottom: 50px;
}

.diary_inbox {
	margin-top: 50px;
}

.wrap-card {
	position: relative;
	box-shadow: 0px 0px 0px #818181;
	transition: all 0.2s ease 0s;
}

.wrap-card:before,
.wrap-card:after {
	display: inline-block;
	position: absolute;
	content: " ";
	width: 100%;
	height: 3px;
	background: #818181;
	/*放缩使before和after两个伪元素的长度开始时为0（不可见）*/
	-webkit-transform: scaleX(0);
	transition: all 0.2s ease;
}

.wrap-card:before {
	top: 0;
	left: 0;
	/*定义被transform的元素的X轴和Y轴的位置，必须和transform一起使用*/
	-webkit-transform-origin: 0 0;
}

.wrap-card:after {
	bottom: 0;
	left: 0;
	/*将这个伪元素移动到屏幕最右端*/
	-webkit-transform-origin: 100% 0;
}

.wrap-card:hover {
	box-shadow: 20px 20px 0px #818181;
	/*使div向左上偏移*/
	-webkit-transform: translateY(-20px) translateX(-20px);
	transition: all 0.2s ease 0.4s;
	cursor: pointer;
}

.wrap-card:hover:after,
.wrap-card:hover:before {
	-webkit-transform: scaleX(1);
}

.card {
	background: #ffffff;
	padding: 30px 35px 45px 35px;
	margin-bottom: 30px;
	border: 1px solid rgba(129, 129, 129, 0.1);
}

.card:before,
.card:after {
	display: inline-block;
	position: absolute;
	content: " ";
	width: 3px;
	height: 100%;
	background: #818181;
	-webkit-transform: scaleY(0);
	transition: all 0.2s ease 0.2s;
}

.card:before {
	top: 0;
	left: 0;
	-webkit-transform-origin: 0 100%;
}

.card:after {
	top: 0;
	right: 0;
	-webkit-transform-origin: 0 0;
}

.card:hover:after,
.card:hover:before {
	-webkit-transform: scaleY(1);
}

blockquote {
	font-family: "楷体";
	cursor: default;
}

.bold_font {
	font-size: x-large;
	font-weight: bold;
}

.text-detail {
	height: 200px;
	overflow: hidden;
}